//构造云对象
function generalUniCloud(objectName, config) {
  return uniCloud.importObject(objectName, config)
}

//公共云对象
export const cloudGeneralObject = generalUniCloud('general')
export const cloudGeneralObjectCustomUI = generalUniCloud('general', {customUI: true})

//搜索云对象
export const cloudSearchObject = generalUniCloud('search')

//用户云对象
export const cloudUserObject = generalUniCloud('user')

//订单云对象
export const cloudOrderObject = generalUniCloud('order')
